github.com/jackc/pgx/v5.sqlLexer.src (field)
35 uses
github.com/jackc/pgx/v5 (current package)
named_args.go#L159: src string
named_args.go#L174: src: sql,
named_args.go#L216: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L221: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L231: if tagLen, ok := scanDollarQuoteTag(l.src[l.pos:]); ok {
named_args.go#L232: l.dollarTag = l.src[l.pos-1 : l.pos+tagLen+1]
named_args.go#L237: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L240: l.parts = append(l.parts, l.src[l.start:l.pos-width])
named_args.go#L246: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L252: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L260: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L270: for l.pos < len(l.src) {
named_args.go#L271: next, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L309: idx := strings.Index(l.src[l.pos:], l.dollarTag)
named_args.go#L312: l.parts = append(l.parts, l.src[l.start:])
named_args.go#L313: l.pos = len(l.src)
named_args.go#L328: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L333: na := namedArg(l.src[l.start:l.pos])
named_args.go#L343: na := namedArg(l.src[l.start:l.pos])
named_args.go#L356: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L361: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L369: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L380: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L385: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L393: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L404: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L409: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L412: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L420: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L431: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L440: l.parts = append(l.parts, l.src[l.start:l.pos])
named_args.go#L451: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L456: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L462: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
named_args.go#L476: l.parts = append(l.parts, l.src[l.start:l.pos])